<template>
  <div>
      zizizizizizi
      <button @click="func()">点我逆向传值</button>

     
  </div>
</template>

<script>
export default {
    data(){
        return {
          zitext:"我是子组件的数据"
        }
    },
methods:{
    func(){
       this.$emit("xiaoming" ,this.zitext)
    },
   
}
}
</script>

<style>

</style>